package com.by.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "用户地址",description = "")
@TableName("user_addr")
@Data
public class UserAddr{
    /** ID */
    @ApiModelProperty(name = "ID",notes = "")
    @TableId
    private int  addrId ;
    /** 建立时间 */
    @ApiModelProperty(name = "建立时间",notes = "")
    private Date createTime ;
    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updateTime ;
    /** 用户ID */
    @ApiModelProperty(name = "用户ID",notes = "")
    private int userId ;
    /** 手机 */
    @ApiModelProperty(name = "手机",notes = "")
    private String mobile ;
    /** 是否默认地址 1是 */
    @ApiModelProperty(name = "是否默认地址 1是",notes = "")
    private int isDefault ;
    /** 收货人 */
    @ApiModelProperty(name = "收货人",notes = "")
    private String consignee ;
    /** 省ID */
    @ApiModelProperty(name = "省ID",notes = "")
    private int provinceId ;
    /** 省 */
    @ApiModelProperty(name = "省",notes = "")
    private String province ;
    /** 城市ID */
    @ApiModelProperty(name = "城市ID",notes = "")
    private int cityId ;
    /** 城市 */
    @ApiModelProperty(name = "城市",notes = "")
    private String city ;
    /** 区ID */
    @ApiModelProperty(name = "区ID",notes = "")
    private int areaId ;
    /** 区 */
    @ApiModelProperty(name = "区",notes = "")
    private String area ;
    /** 邮编 */
    @ApiModelProperty(name = "邮编",notes = "")
    private String postCode ;
    /** 地址 */
    @ApiModelProperty(name = "地址",notes = "")
    private String addr ;
    /** 经度 */
    @ApiModelProperty(name = "经度",notes = "")
    private Double lng ;
    /** 纬度 */
    @ApiModelProperty(name = "纬度",notes = "")
    private Double lat ;

}
